<link href="/public/bootstrap.css" rel="stylesheet">
<link href="/public/printLayout.css" rel="stylesheet">
<div class="printLayout">
    <div class="container">

        <div class="content">
            <div class="page-header">
                <div class="span11">
                    <h2>{$postToView->getTitle()}</h2>
                </div>
                <div class="span5 right">

                </div>
            </div>
            <div class="row">
                <div class="span11">
                    {$postToView->getContent()}
                </div>
                <div class="span5">
                    <div>
                        <h3><i class="icon-info-sign"></i>Informatie</h3>
                        Auteur: {$postToView->getAuthor()}<br />
                        Categorie: {$postToView->getCategory()}<br/>
                        Aangemaakt op: {$postToView->getDateCreated()->format('j-n-Y')}<br />
                        Aantal reacties: {count($postToView->getComments())}<br />
                        Aantal keer gelezen: {$postToView->getReadCount()}<br />
                        De rating van deze post is: {$postToView->getPostRating()}<br /><br />
                    </div>
                    <div>
                        <h3><i class="icon-tags"></i>Tags</h3>
                            {foreach from=$postToView->getTags() item=tag}
                        <span class="label tag-label"><i class="icon-tag icon-white"></i>{$tag->getName()}</span>
                    {/foreach}
                    </div>
                    <div>
                        <br />
                        <a href="javascript:window.print()" >De pagina afdrukken</a>
                    </div>
                </div>
            </div>

            <br/>
        </div>
    {include file='../footer.tpl'}
    </div>
</div>

